import { base } from '@/config'
import http from '@/utils/request'

const login = params => {
  return http.postJson(`${base.system}/auth/login`, params)
}

const getInfo = params => {
  return http.postJson(`${base.system}/user/getUserInfo`, params)
}

export { login, getInfo }
